package com.yaowk.system.routes;

import com.jfinal.config.Routes;
import com.yaowk.system.controller.*;

/**
 * Created by yaowk on 2017/4/16.
 */
public class SystemRoutes extends Routes {
    @Override
    public void config() {
        add("/api/system", SystemController.class, "");
        add("/api/system/platform", PlatformController.class);
        add("/api/system/column", ColumnController.class);
        add("/api/system/module", ModuleController.class);
        add("/api/system/log", LogController.class);
        add("/api/system/adv", AdvertisingController.class);
        add("/api/system/user", UserController.class);
        add("/api/system/count", CountController.class);
        add("/api/file", FileController.class);

    }
}
